package edu.siu.math.egut.util;

import javax.swing.DefaultListModel;
import javax.swing.DropMode;
import javax.swing.JList;

public class DragDropList extends JList {
    DefaultListModel list;

    public DragDropList(DefaultListModel list) {
	super();
	this.list = list;
    }
    public DragDropList(){
	super();
	this.list = new DefaultListModel();
	setDragEnabled(true);
	setDropMode(DropMode.INSERT);
    }
    public static void main(String[] args) {
	new DragDropList();
	

    }    

}
